package com.sduept.nwld.fault.outer.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name="faultTripInfo")
@XmlAccessorType(XmlAccessType.FIELD)
public class FaultTripInfo implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 9050717842000487645L;
	/**
	 * 唯一标识
	 */
	private String id;
	
	/**
	 * 跳闸信息状态
	 */
	private int status;
	/**
	 * 跳闸事件名称
	 */
	private String tripName;
	/**
	 * 设备名称
	 */
	private String deviceName;
	/**
	 * 设备的rdfid
	 */
	private String deviceRdfId;
	/**
	 * 设备的gid
	 */
	private String deviceGid;
	/**
	 * 故障时间
	 */
	private long faultDate;
	/**
	 * 故障相别
	 */
	private String faultPhase;
	/**
	 * 重合闸情况
	 */
	private String recolse;
	/**
	 * 故障分析情况
	 */
	private String faultAnlysis;
	/**
	 * 厂站跳闸信息
	 */
	@XmlElementWrapper(name="stationTripInfos") 
	@XmlElement(name="stationTripInfo")
	private List<StationTripInfo> stationTripInfos = new ArrayList<>();
	
	public String getTripName() {
		return tripName;
	}
	public void setTripName(String tripName) {
		this.tripName = tripName;
	}
	public String getDeviceName() {
		return deviceName;
	}
	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}
	public long getFaultDate() {
		return faultDate;
	}
	public void setFaultDate(long faultDate) {
		this.faultDate = faultDate;
	}
	public String getFaultPhase() {
		return faultPhase;
	}
	public void setFaultPhase(String faultPhase) {
		this.faultPhase = faultPhase;
	}
	public String getRecolse() {
		return recolse;
	}
	public void setRecolse(String recolse) {
		this.recolse = recolse;
	}
	public List<StationTripInfo> getStationTripInfos() {
		return stationTripInfos;
	}
	public void setStationTripInfos(List<StationTripInfo> stationTripInfos) {
		this.stationTripInfos = stationTripInfos;
	}
	public String getDeviceRdfId() {
		return deviceRdfId;
	}
	public void setDeviceRdfId(String deviceRdfId) {
		this.deviceRdfId = deviceRdfId;
	}
	public String getDeviceGid() {
		return deviceGid;
	}
	public void setDeviceGid(String deviceGid) {
		this.deviceGid = deviceGid;
	}
	public String getFaultAnlysis() {
		return faultAnlysis;
	}
	public void setFaultAnlysis(String faultAnlysis) {
		this.faultAnlysis = faultAnlysis;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
}
